package com.irisking.ikaisdk.dataStruct;

public class BasicJsonResp {
    private String operation;
    private String state = "resp";
    private long timestamp; // (long): 1467523989800,
    private String sn;
    private int code;
    private String message;

    public BasicJsonResp(){

    }

    public BasicJsonResp(int code,String message){
        this.code = code;
        this.message = message;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
